import request from '@/utils/request'
import { AxiosPromise } from 'axios'

enum Api {
  list = '/customer/balance/list',
}

// 获取列表
export const customerBalanceList = (data: any): AxiosPromise<any> => {
  return request({
    url: Api.list,
    method: 'post',
    data,
  })
}
